<?php
namespace util;

class Request{
	private $controller;
	private $action;
	private $_W;
	private $_GPC;

	public function __construct($controller, $action, $_W, $_GPC){
		$this->controller = $controller;
		$this->action = $action;
		$this->_W = $_W;
		$this->_GPC = $_GPC;
	}
	
	public function __set($name,$params){
		$e = new \Exception('Request 类为只读类!');
		echo $e->getMessage();
        exit();
	}
	
	public function __get($name){
		return $this->$name;
	}
}